<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<title>Insert title here</title>
</head>
<body>

	<form action="" name="form1" method="post">
		<input type="text" value="xxx" name="userno"><br>
		<input type="button" value="传递" onclick="test()">
	</form>
	
	<script type="text/javascript">
	function test(){
		//window.location.href="two.jsp";

		form1.action="two.jsp?username=经三";
		form1.submit();
	}
	</script>
</body>
</html>